open Ocamlbuild_plugin;;

(*ocaml_lib ~extern:true ~dir:"/usr/lib/llvm/lib/ocaml/" "llvm";;*)

 ocaml_lib ~extern:true ~dir:"/home/comarade/Utilities/llvm/llvm-objects/Release/lib/ocaml" "llvm";;

ocaml_lib ~extern:true "llvm_analysis";;
ocaml_lib ~extern:true "llvm_bitwriter";;

(* Use g++ linker *)
flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
